<div class="kmi-layout-content A07-content c-mdd-page" ng-init="init();" page-type="Page" _transclude-elem="[object Object]">
    <div class="kmi-header-row">
        <div class="brand-title">
            <div class="custom" ng-if="companyName">
                <div class="title" ng-bind="companyName"></div>
                <img src="" alt="" class="brand" />
                <div class="gap"></div>
            </div>
            <div class="digiwin">
                <img src="image/smes_v340/logo_ch.png" alt="" />
                <img src="image/smes_v340/logo_en.png" alt="" />
            </div>
        </div>
        <div class="header-title" ng-bind="_title | translate"></div>

        <div class="right">
            <button ng-hide="_fn['favorite'].isShown == 'N'" ng-click="_fn['favorite'].click('favorite');">
                <img src=" image/smes_v340/W_Com_Love_nor_32.png" />
                <div class="kmi-can-click"></div>
            </button>
            <button ng-hide="_fn['setting'].isShown == 'N'" ng-click="_fn['setting'].click('setting');">
                <img src=" image/smes_v340/W_Com_Setting_nor_32.png" />
                <div class="kmi-can-click"></div>
            </button>
        </div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="mdd-layout c-mdd-layout" layout-name="A07" page-name="" page-type="Page" with-toolbar="N" reload="N" _transclude-elem="[object Object]" style="grid-template-columns: repeat(12, auto 1fr)">
            <label class="label" ng-show="_event['selectareaName'].isShown != 'N'" style="" ng-bind="'A07.columns.selectareaName' | translate"></label>
            <div class="value" ng-show="_event['selectareaName'].isShown != 'N'" style="grid-column-start: span 7">
                <input type="text" readonly="" ng-model="selectareaName_display" ng-click="_event['selectareaName'].click(selectareaName, {event:$event});" ng-disabled="_event['selectareaName'].isDisabled == 'Y'" />
                <div class="tip"><i class="material-icons"></i></div>
            </div>
            <label class="label" ng-show="_event['selectWorkStationName'].isShown != 'N'" style="" ng-bind="'A07.columns.selectWorkStationName' | translate"></label>
            <div class="value" ng-show="_event['selectWorkStationName'].isShown != 'N'" style="grid-column-start: span 7">
                <input type="text" readonly="" ng-model="selectWorkStationName_display" ng-click="_event['selectWorkStationName'].click(selectWorkStationName, {event:$event});" ng-disabled="_event['selectWorkStationName'].isDisabled == 'Y'" />
                <div class="tip"><i class="material-icons"></i></div>
            </div>
            <div item-name="work_date" class="kmi-text-fields condition-panel" style="display: flex; flex: 0 1 200px; grid-column-start: span 8">
                <div class="date-panel">
                    <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="prevDate();">
                        <img src="image/icons/dropleft.png" />
                    </button>
                    <input style="text-align: center; height: 28px" ng-value="work_date |date:'yyyy - MM - dd'" readonly="" ng-click="changeDate();" />
                    <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="nextDate();">
                        <img src="image/icons/dropright.png" />
                    </button>
                </div>
            </div>
            <label class="label" ng-show="_event['unassigned_wo_no'].isShown != 'N'" style="" ng-bind="'A07.columns.unassigned_wo_no' | translate"></label>
            <div class="value" ng-show="_event['unassigned_wo_no'].isShown != 'N'" style="grid-column-start: span 9">
                <input type="text" undefined="" id="unassigned_wo_no" ng-model="unassigned_wo_no" ng-keypress="_event['unassigned_wo_no'].change(unassigned_wo_no, {event:$event});" ng-disabled="_event['unassigned_wo_no'].isDisabled == 'Y'" />
            </div>
            <label class="label" ng-show="_event['unassigned_plot_no'].isShown != 'N'" style="" ng-bind="'A07.columns.unassigned_plot_no' | translate"></label>
            <div class="value" ng-show="_event['unassigned_plot_no'].isShown != 'N'" style="grid-column-start: span 9">
                <input type="text" undefined="" id="unassigned_plot_no" ng-model="unassigned_plot_no" ng-keypress="_event['unassigned_plot_no'].change(unassigned_plot_no, {event:$event});" ng-disabled="_event['unassigned_plot_no'].isDisabled == 'Y'" />
            </div>
            <button class="kmi-button kmi-button-confrim btn-qrcode-query" style="grid-column-start: span 2" ng-show="_fn['unassigned_search'].isShown != 'N'" ng-disabled="_fn['unassigned_search'].isDisabled == 'Y'" ng-click="_fn['unassigned_search'].click(unassigned_search, 'unassigned_search', {event:$event});">
                <label>{{'A07.columns.unassigned_search' | translate}}</label>
                <div class="kmi-can-click"></div></button
            ><button class="kmi-button kmi-button-confrim btn-qrcode-query" style="grid-column-start: span 2" ng-show="_fn['unassigned_clear'].isShown != 'N'" ng-disabled="_fn['unassigned_clear'].isDisabled == 'Y'" ng-click="_fn['unassigned_clear'].click(unassigned_clear, 'unassigned_clear', {event:$event});">
                <label>{{'A07.columns.unassigned_clear' | translate}}</label>
                <div class="kmi-can-click"></div>
            </button>
            <div class="mdd-list c-mdd-list" null="" ng-show="_event['dispatch_detail'].isShown != 'N'" style="height:{{_event['A07'].GetfillHeight()}};grid-column-start:span 24;" list-name="A07_dispatch_detail" list-bind="dispatch_detail" list-alias="" enable-select="Y" select-all="Y" page-name="" page-type="Page" _transclude-elem="[object Object]">
                <div class="kmi-list column-selector" kmi-scrollbar="1476px" column-selector-id="A07_dispatch_detail" style="flex: 1">
                    <div class="kmi-list__header">
                        <div class="kmi-list__column width-fixed column-input" style="flex: 0 0 40px">
                            <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="_event['dispatch_detail'].selectAll(dispatch_detail, 'dispatch_detail');">
                                <img ng-show="!_event['dispatch_detail'].isSelectAll" src="image/icons/check0.png" />
                                <img ng-show="_event['dispatch_detail'].isSelectAll" src="image/icons/check1.png" />
                            </button>
                        </div>
                        <div item-name="item_send_work" class="kmi-list__column width-fixed" style="flex: 0 0 36px"></div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.op_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[1].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['op_no']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[1].isFilter = false;_objdispatch_detail.filterColumns['op_no'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[1].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[1].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.op_no' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 1">{{!_objdispatch_detail.header[1].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(1, 'op_no', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.op_name'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[2].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['op_name']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[2].isFilter = false;_objdispatch_detail.filterColumns['op_name'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[2].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[2].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.op_name' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 2">{{!_objdispatch_detail.header[2].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(2, 'op_name', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.wo_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[3].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['wo_no']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[3].isFilter = false;_objdispatch_detail.filterColumns['wo_no'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[3].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[3].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.wo_no' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 3">{{!_objdispatch_detail.header[3].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(3, 'wo_no', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.plot_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[4].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['plot_no']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[4].isFilter = false;_objdispatch_detail.filterColumns['plot_no'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[4].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[4].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.plot_no' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 4">{{!_objdispatch_detail.header[4].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(4, 'plot_no', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.qty'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[5].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['qty']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[5].isFilter = false;_objdispatch_detail.filterColumns['qty'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[5].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[5].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.qty' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 5">{{!_objdispatch_detail.header[5].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(5, 'qty', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.plot_start_time'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[6].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['plot_start_time']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[6].isFilter = false;_objdispatch_detail.filterColumns['plot_start_time'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[6].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[6].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.plot_start_time' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 6">{{!_objdispatch_detail.header[6].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(6, 'plot_start_time', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.plot_end_time'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[7].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['plot_end_time']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[7].isFilter = false;_objdispatch_detail.filterColumns['plot_end_time'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[7].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[7].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.plot_end_time' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 7">{{!_objdispatch_detail.header[7].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(7, 'plot_end_time', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.item_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[8].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['item_no']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[8].isFilter = false;_objdispatch_detail.filterColumns['item_no'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[8].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[8].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.item_no' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 8">{{!_objdispatch_detail.header[8].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(8, 'item_no', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.item_name'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[9].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['item_name']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[9].isFilter = false;_objdispatch_detail.filterColumns['item_name'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[9].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[9].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.item_name' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 9">{{!_objdispatch_detail.header[9].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(9, 'item_name', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.item_spec'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[10].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['item_spec']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[10].isFilter = false;_objdispatch_detail.filterColumns['item_spec'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[10].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[10].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.item_spec' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 10">{{!_objdispatch_detail.header[10].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(10, 'item_spec', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.mono_date'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[11].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['mono_date']" ng-keyup="blurSearch($event)" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px"
                                    ng-click="_objdispatch_detail.header[11].isFilter = false;_objdispatch_detail.filterColumns['mono_date'] = ''; unassigned_search();">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[11].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatch_detail.header[11].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatch_detail.columns.mono_date' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 11">{{!_objdispatch_detail.header[11].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(11, 'mono_date', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatch_detail.lst_accessory'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[12].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['lst_accessory']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatch_detail.header[12].isFilter = false;_objdispatch_detail.filterColumns['lst_accessory'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[12].isFilter">
                                <label ng-bind="'A07_dispatch_detail.columns.lst_accessory' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatch_detail.queryOrder == 12">{{!_objdispatch_detail.header[12].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(12, 'lst_accessory', '_objdispatch_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1 1 0%" ng-show="_event['dispatch_detail.acc_detail'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatch_detail.header[13].isFilter">
                                <input ng-model="_objdispatch_detail.filterColumns['acc_detail']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatch_detail.header[13].isFilter = false;_objdispatch_detail.filterColumns['acc_detail'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatch_detail.header[13].isFilter">
                                <label ng-bind="'A07_dispatch_detail.columns.acc_detail' | translate"></label>
                            </div>
                        </div>
                    </div>
                    <div class="kmi-list__row-content">
                        <div class="kmi-list__row" id="A07_dispatch_detail_result_list" ng-repeat="item in _event['dispatch_detail'].getPages(dispatch_detail, _objdispatch_detail.PageConfig, {}, _objdispatch_detail.header[_objdispatch_detail.queryOrder]) track by $index" ng-class="{'is-select':_event['dispatch_detail'].checkSelect(item, {index:$index, event:$event})}">
                            <div class="kmi-list__column column-input" style="flex: 0 0 40px; z-index: 1">
                                <button class="mdl-button mdl-js-button mdl-button--icon" ng-show="_event['dispatch_detail'].enableSelect(item, 'dispatch_detail.item');" ng-click="_event['dispatch_detail'].click(item, {index:$index, event:$event});">
                                    <img ng-show="!_event['dispatch_detail'].checkClick(item, 'dispatch_detail.item');" src="image/icons/check0.png" />
                                    <img ng-show="_event['dispatch_detail'].checkClick(item, 'dispatch_detail.item');" src="image/icons/check1.png" />
                                </button>
                            </div>
                            <div item-name="item_send_work" class="kmi-list__column" style="flex: 0 0 36px; z-index: 1">
                                <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="itemSendwork($index,item);">
                                    <img src="image/icons/move1.png" />
                                </button>
                            </div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.op_no" ng-if="_event['dispatch_detail.op_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.op_name" ng-if="_event['dispatch_detail.op_name'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.wo_no" ng-if="_event['dispatch_detail.wo_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.plot_no" ng-if="_event['dispatch_detail.plot_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.qty" ng-if="_event['dispatch_detail.qty'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.plot_start_time" ng-if="_event['dispatch_detail.plot_start_time'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.plot_end_time" ng-if="_event['dispatch_detail.plot_end_time'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.item_no" ng-if="_event['dispatch_detail.item_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.item_name" ng-if="_event['dispatch_detail.item_name'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.item_spec" ng-if="_event['dispatch_detail.item_spec'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.mono_date" ng-if="_event['dispatch_detail.mono_date'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.lst_accessory[0].accessory_no" ng-if="_event['dispatch_detail.lst_accessory'].isShown != 'N'"></div>
                            <div item-name="acc_detail" class="kmi-list__column" style="flex: 1; z-index: 1">
                                <button class="mdl-button mdl-js-button mdl-button--icon" style="width: 24px; background: #ececec; border-radius: 4px">
                                    <img src="image/icons/mould.png" />
                                    <div class="kmi-can-click" ng-click="itemAccessory(item);"></div>
                                </button>
                            </div>
                            <div class="kmi-can-click" ng-click="_event['dispatch_detail'].rowClick(item, {index:$index, event:$event});"></div>
                        </div>
                    </div>
                </div>
                <div class="page-content">
                    <div class="page-icon">
                        <img src="image/icons/dropleft.png" />
                        <div class="kmi-can-click" ng-click="prevPage(_objdispatch_detail.PageConfig);"></div>
                    </div>
                    <label ng-bind="pageInfo(_objdispatch_detail.PageConfig);"></label>
                    <div class="page-icon">
                        <img src="image/icons/dropright.png" />
                        <div class="kmi-can-click" ng-click="nextPage(_objdispatch_detail.PageConfig);"></div>
                    </div>
                    <div class="selected-info">
                        <div class="current" ng-bind="SelectedInfo.current()"></div>
                        <div class="total" ng-bind="SelectedInfo.total()"></div>
                    </div>
                </div>
            </div>
            <label class="label" ng-show="_event['assigned_wo_no'].isShown != 'N'" style="" ng-bind="'A07.columns.assigned_wo_no' | translate"></label>
            <div class="value" ng-show="_event['assigned_wo_no'].isShown != 'N'" style="grid-column-start: span 5">
                <input type="text" undefined="" id="assigned_wo_no" ng-model="assigned_wo_no" ng-keypress="_event['assigned_wo_no'].change(assigned_wo_no, {event:$event});" ng-disabled="_event['assigned_wo_no'].isDisabled == 'Y'" />
            </div>
            <label class="label" ng-show="_event['assigned_plot_no'].isShown != 'N'" style="" ng-bind="'A07.columns.assigned_plot_no' | translate"></label>
            <div class="value" ng-show="_event['assigned_plot_no'].isShown != 'N'" style="grid-column-start: span 5">
                <input type="text" undefined="" id="assigned_plot_no" ng-model="assigned_plot_no" ng-keypress="_event['assigned_plot_no'].change(assigned_plot_no, {event:$event});" ng-disabled="_event['assigned_plot_no'].isDisabled == 'Y'" />
            </div>
            <label class="label" ng-show="_event['assigned_machine'].isShown != 'N'" style="" ng-bind="'A07.columns.assigned_machine' | translate"></label>
            <div class="value" ng-show="_event['assigned_machine'].isShown != 'N'" style="grid-column-start: span 3">
                <input type="text" undefined="" id="assigned_machine" ng-model="assigned_machine" ng-keypress="_event['assigned_machine'].change(assigned_machine, {event:$event});" ng-disabled="_event['assigned_machine'].isDisabled == 'Y'" />
            </div>
            <label class="label" ng-show="_event['equipment_sort_mode_label'].isShown != 'N'" style="" ng-bind="'A07.columns.equipment_sort_mode_label' | translate"></label>
            <div class="value" ng-show="_event['equipment_sort_mode_label'].isShown != 'N'" style="grid-column-start: span 3">
                <input type="text" readonly="" ng-model="equipment_sort_mode_label_display" ng-click="_event['equipment_sort_mode_label'].click(equipment_sort_mode_label, {event:$event});" ng-disabled="_event['equipment_sort_mode_label'].isDisabled == 'Y'" />
                <div class="tip"><i class="material-icons"></i></div>
            </div>
            <button class="kmi-button kmi-button-confrim btn-qrcode-query" style="grid-column-start: span 2" ng-show="_fn['assigned_search'].isShown != 'N'" ng-disabled="_fn['assigned_search'].isDisabled == 'Y'" ng-click="_fn['assigned_search'].click(assigned_search, 'assigned_search', {event:$event});">
                <label>{{'A07.columns.assigned_search' | translate}}</label>
                <div class="kmi-can-click"></div></button
            ><button class="kmi-button kmi-button-confrim btn-qrcode-query" style="grid-column-start: span 2" ng-show="_fn['assigned_clear'].isShown != 'N'" ng-disabled="_fn['assigned_clear'].isDisabled == 'Y'" ng-click="_fn['assigned_clear'].click(assigned_clear, 'assigned_clear', {event:$event});">
                <label>{{'A07.columns.assigned_clear' | translate}}</label>
                <div class="kmi-can-click"></div>
            </button>
            <div item-name="machine_panel" class="machine-list" ng-show="_event['A07_machine_panel'].isShown != 'N'" style="height:{{_event['A07'].GetfillHeight()}}; grid-column-start: span 24;">
                <div class="machine-contener">
                    <div class="machine-conten" ng-repeat="item in getMachineList() track by $index" ng-class="[mlightColor(item.load_status)]">
                        <div class="machine-title" style="padding-top: 2px" ng-bind="item.machine_no"></div>
                        <div class="machine-title" ng-bind="item.machine_name"></div>
                        <div class="machine-title" ng-show="ht_tr_bool" style="padding-bottom: 2px" ng-bind="('A02.mlist.column6'|translate) + item.furnace_qty + '/' + item.furnace_total_qty"></div>
                        <div class="machine-info" style="padding-top: 1px" ng-bind="('A02.mlist.column2'|translate)+item.capacity_show + 'HR'"></div>
                        <div class="machine-info" ng-bind="('A02.mlist.column3'|translate)+item.used_capacity_show+ 'HR'"></div>
                        <div class="machine-info" ng-bind="('A02.mlist.column4'|translate)+item.machine_load + '%'"></div>
                        <div class="machine-state">
                            <!-- 20230620 modify by Alan for M#0132192: 修正設備狀態 -->
                            <div class="machine-state-info" ng-class="[machineStatus(item.equipment_state_show)]" ng-bind="machineStatusDisplay(item.equipment_state_show)"></div>
                        </div>
                        <div class="kmi-can-click" ng-click="machineSelect($index, item, $event);"></div>
                    </div>
                </div>
                <div class="page-content" style="border: 0px">
                    <div class="page-icon">
                        <img src="image/icons/dropleft.png" />
                        <div class="kmi-can-click" ng-click="prevPageButton();"></div>
                    </div>
                    <label ng-bind="machineList.PageConfig.nowPage+' / '+machineList.PageConfig.totlePage"></label>
                    <div class="page-icon">
                        <img src="image/icons/dropright.png" />
                        <div class="kmi-can-click" ng-click="nextPageButton();"></div>
                    </div>
                </div>
            </div>
            <label class="label" ng-show="_event['machine_display'].isShown != 'N'" style="" ng-bind="'A07.columns.machine_display' | translate"></label>
            <div class="value" ng-show="_event['machine_display'].isShown != 'N'" style="grid-column-start: span 13">
                <label class="value" ng-bind="selectMachine.machine_display" mdl-toast="{{selectMachine.machine_display}}" mdl-toast-passive="true"></label>
            </div>
            <label class="label" ng-show="_event['capacity_display'].isShown != 'N'" style="" ng-bind="'A07.columns.capacity_display' | translate"></label>
            <div class="value" ng-show="_event['capacity_display'].isShown != 'N'" style=""><label class="value" ng-bind="selectMachine.capacity_display" mdl-toast="{{selectMachine.capacity_display}}" mdl-toast-passive="true"></label></div>
            <label class="label" ng-show="_event['used_capacity_display'].isShown != 'N'" style="" ng-bind="'A07.columns.used_capacity_display' | translate"></label>
            <div class="value" ng-show="_event['used_capacity_display'].isShown != 'N'" style=""><label class="value" ng-bind="selectMachine.used_capacity_display" mdl-toast="{{selectMachine.used_capacity_display}}" mdl-toast-passive="true"></label></div>
            <label class="label" ng-show="_event['machine_load_display'].isShown != 'N'" style="" ng-bind="'A07.columns.machine_load_display' | translate"></label>
            <div class="value" ng-show="_event['machine_load_display'].isShown != 'N'" style=""><label class="value" ng-bind="selectMachine.machine_load_display" mdl-toast="{{selectMachine.machine_load_display}}" mdl-toast-passive="true"></label></div>
            <div item-name="select_machine_light" class="kmi-text-fields" style="display: flex; grid-column-start: span 2" ng-show="_event['select_machine_light'].isShown != 'N'">
                <label class="label" ng-bind="'A02.mlist.column5' | translate"></label>
                <div class="dashboard-light-panel" style="flex: 0 0 24px" ng-class="[mlightColor(selectMachine.load_status)]"></div>
            </div>
            <div class="mdd-list c-mdd-list" ng-show="_event['dispatched_detail'].isShown != 'N'" style="height:{{_event['A07'].GetfillHeight()}};grid-column-start:span 24;" list-name="A07_dispatched_detail" list-bind="dispatched_detail" list-alias="" enable-select="Y" select-all="Y" page-name="" page-type="Page" _transclude-elem="[object Object]">
                <div class="kmi-list column-selector" kmi-scrollbar="1360px" column-selector-id="A07_dispatched_detail" style="flex: 1">
                    <div class="kmi-list__header">
                        <div class="kmi-list__column width-fixed column-input" style="flex: 0 0 40px">
                            <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="_event['dispatched_detail'].selectAll(dispatched_detail, 'dispatched_detail');">
                                <img ng-show="!_event['dispatched_detail'].isSelectAll" src="image/icons/check0.png" />
                                <img ng-show="_event['dispatched_detail'].isSelectAll" src="image/icons/check1.png" />
                            </button>
                        </div>
                        <div item-name="sort" class="kmi-list__column width-fixed" style="flex: 0 0 40px"></div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.op_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[1].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['op_no']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[1].isFilter = false;_objdispatched_detail.filterColumns['op_no'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[1].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[1].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.op_no' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 1">{{!_objdispatched_detail.header[1].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(1, 'op_no', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.op_name'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[2].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['op_name']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[2].isFilter = false;_objdispatched_detail.filterColumns['op_name'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[2].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[2].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.op_name' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 2">{{!_objdispatched_detail.header[2].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(2, 'op_name', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.plot_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[3].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['plot_no']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[3].isFilter = false;_objdispatched_detail.filterColumns['plot_no'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[3].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[3].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.plot_no' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 3">{{!_objdispatched_detail.header[3].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(3, 'plot_no', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.plot_qty'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[4].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['plot_qty']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[4].isFilter = false;_objdispatched_detail.filterColumns['plot_qty'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[4].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[4].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.plot_qty' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 4">{{!_objdispatched_detail.header[4].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(4, 'plot_qty', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.uncheck_in_qty'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[5].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['uncheck_in_qty']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[5].isFilter = false;_objdispatched_detail.filterColumns['uncheck_in_qty'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[5].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[5].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.uncheck_in_qty' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 5">{{!_objdispatched_detail.header[5].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(5, 'uncheck_in_qty', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.tmp_plot_start_time'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[6].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['tmp_plot_start_time']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[6].isFilter = false;_objdispatched_detail.filterColumns['tmp_plot_start_time'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[6].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[6].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.tmp_plot_start_time' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 6">{{!_objdispatched_detail.header[6].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(6, 'tmp_plot_start_time', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.tmp_plot_end_time'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[7].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['tmp_plot_end_time']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[7].isFilter = false;_objdispatched_detail.filterColumns['tmp_plot_end_time'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[7].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[7].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.tmp_plot_end_time' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 7">{{!_objdispatched_detail.header[7].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(7, 'tmp_plot_end_time', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1 1 0%" ng-show="_event['dispatched_detail.dis_start_time'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[8].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['dis_start_time']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[8].isFilter = false;_objdispatched_detail.filterColumns['dis_start_time'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[8].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[8].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.dis_start_time' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 8">{{!_objdispatched_detail.header[8].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(8, 'dis_start_time', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1 1 0%" ng-show="_event['dispatched_detail.dis_end_time'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[9].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['dis_end_time']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[9].isFilter = false;_objdispatched_detail.filterColumns['dis_end_time'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[9].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[9].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.dis_end_time' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 9">{{!_objdispatched_detail.header[9].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(9, 'dis_end_time', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.item_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[10].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['item_no']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[10].isFilter = false;_objdispatched_detail.filterColumns['item_no'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[10].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[10].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.item_no' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 10">{{!_objdispatched_detail.header[10].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(10, 'item_no', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.item_name'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[11].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['item_name']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[11].isFilter = false;_objdispatched_detail.filterColumns['item_name'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[11].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[11].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.item_name' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 11">{{!_objdispatched_detail.header[11].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(11, 'item_name', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1 1 0%" ng-show="_event['dispatched_detail.batch_mark'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[12].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['batch_mark']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[12].isFilter = false;_objdispatched_detail.filterColumns['batch_mark'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[12].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[12].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.batch_mark' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 12">{{!_objdispatched_detail.header[12].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(12, 'batch_mark', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.item_spec'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[13].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['item_spec']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[13].isFilter = false;_objdispatched_detail.filterColumns['item_spec'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[13].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[13].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.item_spec' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 13">{{!_objdispatched_detail.header[13].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(13, 'item_spec', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['dispatched_detail.mono_date'].isShown != 'N'">
                            <div class="filter" ng-show="_objdispatched_detail.header[14].isFilter">
                                <input ng-model="_objdispatched_detail.filterColumns['mono_date']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objdispatched_detail.header[14].isFilter = false;_objdispatched_detail.filterColumns['mono_date'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objdispatched_detail.header[14].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objdispatched_detail.header[14].isFilter = true">search</i>
                                <label ng-bind="'A07_dispatched_detail.columns.mono_date' | translate"></label>
                                <i class="material-icons" ng-show="_objdispatched_detail.queryOrder == 14">{{!_objdispatched_detail.header[14].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(14, 'mono_date', '_objdispatched_detail');"></div>
                            </div>
                        </div>
                    </div>
                    <div class="kmi-list__row-content">
                        <div class="kmi-list__row" id="A07_dispatched_detail_result_list" ng-repeat="item in _event['dispatched_detail'].getPages(dispatched_detail, _objdispatched_detail.PageConfig, _objdispatched_detail.filterColumns, _objdispatched_detail.header[_objdispatched_detail.queryOrder]) track by $index" ng-class="{'is-select':_event['dispatched_detail'].checkSelect(item, {index:$index, event:$event})}">
                            <div class="kmi-list__column column-input" style="flex: 0 0 40px; z-index: 1">
                                <button class="mdl-button mdl-js-button mdl-button--icon" ng-show="_event['dispatched_detail'].enableSelect(item, 'dispatched_detail.item');" ng-click="_event['dispatched_detail'].click(item, {index:$index, event:$event});">
                                    <img ng-show="!_event['dispatched_detail'].checkClick(item, 'dispatched_detail.item');" src="image/icons/check0.png" />
                                    <img ng-show="_event['dispatched_detail'].checkClick(item, 'dispatched_detail.item');" src="image/icons/check1.png" />
                                </button>
                            </div>
                            <div item-name="sort" class="kmi-list__column" ng-class="{disable: item.states != 0}" style="flex: 0 0 40px; z-index: 1">
                                <div class="kmi-list__column-left-btn" ng-show="item.states == 0">
                                    <button class="sortable-btn mdl-button mdl-js-button mdl-button--icon">
                                        <img src="image/icons/change_h.png" />
                                    </button>
                                </div>
                            </div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.op_no" ng-if="_event['dispatched_detail.op_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.op_name" ng-if="_event['dispatched_detail.op_name'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.plot_no" ng-if="_event['dispatched_detail.plot_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.plot_qty" ng-if="_event['dispatched_detail.plot_qty'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.uncheck_in_qty" ng-if="_event['dispatched_detail.uncheck_in_qty'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.tmp_plot_start_time" ng-if="_event['dispatched_detail.tmp_plot_start_time'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.tmp_plot_end_time" ng-if="_event['dispatched_detail.tmp_plot_end_time'].isShown != 'N'"></div>
                            <div item-name="dis_start_time" class="kmi-list__column" style="flex: 1; z-index: 1">
                                <div class="kmi-text-fields" style="padding: 4px">
                                    <label ng-bind="item.dis_start_date"></label>
                                    <input readonly="readonly" ng-model="item.dis_start_time" ng-click="time_open_set($event, item, item.dis_start_time, 4);" />
                                </div>
                            </div>
                            <div item-name="dis_end_time" class="kmi-list__column" style="flex: 1; z-index: 1">
                                <div class="kmi-text-fields" style="padding: 4px">
                                    <label ng-bind="item.dis_end_date"></label>
                                    <input readonly="readonly" ng-model="item.dis_end_time" ng-click="time_open_set($event, item, item.dis_end_time, 5);" />
                                </div>
                            </div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.item_no" ng-if="_event['dispatched_detail.item_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.item_name" ng-if="_event['dispatched_detail.item_name'].isShown != 'N'"></div>
                            <div item-name="batch_mark" class="kmi-list__column" style="flex: 1; z-index: 1">
                                <div class="kmi-text-fields kmi-tag-fields" ng-show="item.batch_mark">
                                    <div class="kmi-button-content">
                                        <div class="kmi-button">
                                            <label ng-bind="item.batch_mark"></label>
                                            <i class="material-icons" ng-click="deleteBatchMergeMark(item);">close</i>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.item_spec" ng-if="_event['dispatched_detail.item_spec'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.mono_date" ng-if="_event['dispatched_detail.mono_date'].isShown != 'N'"></div>
                            <div class="kmi-can-click" ng-click="_event['dispatched_detail'].rowClick(item, {index:$index, event:$event});"></div>
                        </div>
                    </div>
                </div>
                <div class="page-content">
                    <div class="page-icon">
                        <img src="image/icons/dropleft.png" />
                        <div class="kmi-can-click" ng-click="prevPage(_objdispatched_detail.PageConfig);"></div>
                    </div>
                    <label ng-bind="pageInfo(_objdispatched_detail.PageConfig);"></label>
                    <div class="page-icon">
                        <img src="image/icons/dropright.png" />
                        <div class="kmi-can-click" ng-click="nextPage(_objdispatched_detail.PageConfig);"></div>
                    </div>
                </div>
            </div>
            <div item-name="dispatched_detail_footer" class="conten-panel work-panel" ng-class="{'hide-panel':Mode == '' || Mode == 'EditSendWork'}" style="border-top: 0px; border-radius: 0px 0px 4px 4px; grid-column-start: span 24" ng-show="_event['dispatched_detail_footer'].isShown != 'N'">
                <div class="kmi-list__page-content" ng-show="Mode == 'MachineExpend'">
                    <div class="kmi-button kmi-button-cancel" ng-click="closeMachine();" style="width: 100px">
                        <label ng-bind="'common.btn.close' | translate"></label>
                        <div class="kmi-can-click"></div>
                    </div>
                </div>
                <div class="kmi-list__page-content" ng-show="Mode == 'EditSeq'">
                    <div class="kmi-button kmi-button-confrim" ng-click="confirmEditSeq();" style="width: 100px">
                        <label ng-bind="'A02.btn.confirm' | translate"></label>
                        <div class="kmi-can-click"></div>
                    </div>
                    <div class="kmi-button kmi-button-cancel" ng-click="cancelEditSeq();" style="width: 100px">
                        <label ng-bind="'A02.btn.cancel' | translate"></label>
                        <div class="kmi-can-click"></div>
                    </div>
                </div>
                <div class="kmi-list__page-content" ng-show="Mode == 'Rollback'">
                    <!-- 20201210 modify by 外包 for M#83236: 派工作业 - 增加流程卡列印 -->
                    <div class="kmi-button kmi-button-confrim" ng-click="preview();" style="width: 100px">
                        <label ng-bind="'A02.btn.print' | translate"></label>
                        <div class="kmi-can-click"></div>
                    </div>
                    <div class="kmi-button kmi-button-confrim" ng-show="selectSameOp"  ng-click="confirmBatchMerge();" style="width: 100px">
                        <label ng-bind="'A02.btn.batchMerge' | translate"></label>
                        <div class="kmi-can-click"></div>
                    </div>
                    <div class="kmi-button kmi-button-confrim" ng-click="confirmTransfer();" style="width: 100px" ng-if="selectRollback == 1">
                        <label ng-bind="'A02.btn.transfer' | translate"></label>
                        <div class="kmi-can-click"></div>
                    </div>
                    <div class="kmi-button kmi-button-confrim" ng-click="confirmRollback();" style="width: 100px">
                        <label ng-bind="'A02.btn.rollback' | translate"></label>
                        <div class="kmi-can-click"></div>
                    </div>
                    <div class="kmi-button kmi-button-cancel" ng-click="cancelRollback();" style="width: 100px">
                        <label ng-bind="'A02.btn.cancel' | translate"></label>
                        <div class="kmi-can-click"></div>
                    </div>
                </div>
            </div>
            <div item-name="edit_mask" class="edit-mask" ng-show="(Mode == 'EditSendWork' || Mode == 'EditSeq' || Mode == 'Rollback')" style=""></div>
            <div item-name="pdf_panel" class="pdf-panel" ng-show="showMode == 'print'" style="height:{{_event['A07'].GetfillHeight()}}; grid-column-start: span 24;">
                <iframe id="kmi-pdf-panel" name="kmi-pdf-panel"></iframe>
            </div>
            <div item-name="pdf_footer" class="kmi-layout-footer pdf-footer" ng-show="showMode == 'print'" style="grid-column-start: span 2">
                <button class="mdl-button mdl-js-button mdl-button--fab mdl-shadow--custom mdl-button--custom1 sub" ng-click="print();">
                    <img src="image/icons/print.png" />
                </button>
                <button class="mdl-button mdl-js-button mdl-button--fab mdl-shadow--custom mdl-button--custom1 sub" ng-click="download();">
                    <img src="image/icons/download.png" />
                </button>
                <button class="mdl-button mdl-js-button mdl-button--fab mdl-shadow--custom mdl-button--custom1" ng-click="cancel();">
                    <img src="image/icons/close.png" />
                </button>
            </div>
        </div>

        <div class="kmi-layout-footer">
            <button class="mdl-button mdl-js-button mdl-button--fab mdl-shadow--custom mdl-button--custom1" ng-disabled="_fn['print'].isDisabled == 'Y'" ng-hide="_fn['print'].isShown == 'N'" ng-click="_fn['print'].click('print');">
                <i class="material-icons">print</i>
            </button>
        </div>
    </div>
</div>
